package com.xishu.bo;

import com.xishu.annotation.dao.DefaultValue;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class TicketAndLimit implements Serializable {
    private static final long serialVersionUID = -8473148768834224423L;

    @ApiModelProperty(value = "优惠券ID")
    private Long ticketId;

    @DefaultValue(defaultValue = "true")
    @ApiModelProperty(value = "是否限量")
    private Boolean limitNumber;

    @DefaultValue(defaultValue = "1")
    @ApiModelProperty(value = "优惠券的数量")
    private Integer ticketNumber;

    public Integer getTicketNumber() {
        return ticketNumber;
    }

    public void setTicketNumber(Integer ticketNumber) {
        this.ticketNumber = ticketNumber;
    }

    public Long getTicketId() {
        return ticketId;
    }

    public void setTicketId(Long ticketId) {
        this.ticketId = ticketId;
    }

    public Boolean getLimitNumber() {
        return limitNumber;
    }

    public void setLimitNumber(Boolean limitNumber) {
        this.limitNumber = limitNumber;
    }
}
